#!/usr/bin/ruby
# rakefile
# AndrewJ

require 'rdoc/rdoc'

project = "fuchsia"
BACKUPDIR = "/Users/Andrew/Documents/backup"

task :default => [:backup]

desc "Zip up the current project, date-stamp, and store safely"
task :backup do
	date = Time.now.strftime("%Y-%m-%d")
	zipfile = "#{project}-#{date}.zip"
	sh "zip -r #{zipfile} *"
	sh "mv #{zipfile} #{BACKUPDIR}"
end

# The End
